@include('../top')
<!--banner-->
<div class="banner-top">
	<div class="container">
		<h1>登陆</h1>
		<em></em>
		<h2><a href="#">主页</a><label>/</label>登陆</h2>
	</div>
</div>
<!--login-->
<div class="container">
		<div class="login">
		
			<form method='post'>
				{!! csrf_field() !!}
			<div class="col-md-6 login-do">
				<div class="login-mail">
					<input type="text" name='name' placeholder="请输入用户名" required="">
					<i  class="glyphicon glyphicon-user"></i>
				</div>
                @if ($errors->has('name'))
                    <p style="display: block; background:green;" id="amountError" class="hvr-skew-backward">{{$errors->first('name')}}</p>
                @endif
				<div class="login-mail">
					<input type="password" name='password' placeholder="请输入密码" required="">
					<i class="glyphicon glyphicon-lock"></i>
				</div>
                @if ($errors->has('password'))
                    <p style="display: block; background:green" id="amountError" class="hvr-skew-backward">{{$errors->first('password')}}</p>
                @endif
                <div class="login-mail">
                    <input type="text" name='captcha' placeholder="请输入验证码" required="" height="80">
                </div>
                <img src="{{url('/',['home','capt'])}}" alt="" id="image">

                <a class="news-letter " href="#">
						 <label class="checkbox1"><input type="checkbox" name="checkbox" ><i> </i>不保存密码</label>
				</a>
				<input type="button" value="找回密码" style="margin-left:0px; margin-top:3px" class="hvr-skew-backward" class="pull-left">

				<button  style="margin-left:200px; margin-top:3px" class="hvr-skew-backward" class="pull-left"><input type="submit" value="登陆"></button>
			</div>
			<div class="col-md-6 login-right">
				 <h3>Completely Free Account</h3>
				 
				 <p>Pellentesque neque leo, dictum sit amet accumsan non, dignissim ac mauris. Mauris rhoncus, lectus tincidunt tempus aliquam, odio 
				 libero tincidunt metus, sed euismod elit enim ut mi. Nulla porttitor et dolor sed condimentum. Praesent porttitor lorem dui, in pulvinar enim rhoncus vitae. Curabitur tincidunt, turpis ac lobortis hendrerit, ex elit vestibulum est, at faucibus erat ligula non neque.</p>
				<a href="register.html" class=" hvr-skew-backward">Register</a>

			</div>
			
			<div class="clearfix"> </div>
			</form>
		</div>

</div>

<!--//login-->

			<!--brand-->
		<div class="container">
			<div class="brand">
				<div class="col-md-3 brand-grid">
					<img src="/images/ic.png" class="img-responsive" alt="">
				</div>
				<div class="col-md-3 brand-grid">
					<img src="/images/ic1.png" class="img-responsive" alt="">
				</div>
				<div class="col-md-3 brand-grid">
					<img src="/images/ic2.png" class="img-responsive" alt="">
				</div>
				<div class="col-md-3 brand-grid">
					<img src="/images/ic3.png" class="img-responsive" alt="">
				</div>
				<div class="clearfix"></div>
			</div>
			</div>
			<!--//brand-->
			</div>
			
		</div>
	<!--//content-->
		<!--//footer-->
@include('../bottom')
		<!--//footer-->

	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

	<script src="/js/simpleCart.min.js"> </script>
    <script src="/js/jquery.chocolat.js"></script>
<!-- slide -->
<script src="/js/bootstrap.min.js"></script>
 
</body>

<script>
    $('#image').click(function(){
        var srca = $('#image').attr('src')+'?t='+Math.random(10000,99999);
        $('#image').attr('src',srca);
    });
</script>
</html>